﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PatternLib.Responsibility
{
    public class FirstStep : ResponsibilityChain
    {
        public FirstStep()
        {
            this.Name = "First Step";
        }
        public override void Execute(ResponsibilityNode applyContext)
        {
            Console.WriteLine($"this is 第一步");
            applyContext.StartTime = DateTime.Now;
            NextStep(applyContext);
        }
    }
}
